import request from '@/utils/request'

export function getuserList(query) {
    return request({
        url: '/admin/userList',
        method: 'post',
        data: query,
    })
}
export function dl_User(query) {
    return request({
        url: '/admin/dl_User',
        method: 'post',
        data: query,
    })
}
export function di_User(query) {
    return request({
        url: '/admin/di_User',
        method: 'post',
        data: query,
    })
}
export function add_User(query) {
    return request({
        url: '/admin/add_User',
        method: 'post',
        data: query,
    })
}
export function up_User(query) {
    return request({
        url: '/admin/up_User',
        method: 'post',
        data: query,
    })
}
export function up_adminPass(query) {
    return request({
        url: '/admin/up_adminPass',
        method: 'post',
        data: query,
    })
}
// 图表接口
export function waterChart() {
    return request({
        url: '/waterChart',
        method: 'post',
    })
}
export function topCount() {
    return request({
        url: '/topCount',
        method: 'post',
    })
}
export function topChart() {
    return request({
        url: '/topChart',
        method: 'post',
    })
}